package cn.cfoodc.sharding.mapper;



import cn.cfoodc.sharding.domain.TComplex;
import org.apache.ibatis.annotations.Param;

import java.sql.Timestamp;
import java.util.List;

public interface TComplexMapper {

    List<TComplex> selectAll(Timestamp benginCreateDatetime , Timestamp endCreateDatetime);

    TComplex selectByPrimaryKey(Long userId , Long id);

    int insertOne(@Param("t") TComplex tComplex);

    TComplex selectByUseridAndCreatedate(@Param("userId") Long userId , @Param("createDatetime") Timestamp createDatetime);
}
